from django.conf.urls import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin

#from members.regbackend import MyRegBackend
from members.forms import CustomRegistrationForm

admin.autodiscover()

urlpatterns = patterns('',


	url(r'^$', 'intros.views.index'),

 
	url(r'^members/', include('members.urls')),   
  url(r'^knowledge/', include('knowledge.urls')),
  
	url(r'^admin/', include(admin.site.urls)),

	url(r'^accounts/register/$', 'registration.views.register', { 'backend' : 'members.regbackend.MyRegBackend' , 
                                                                'form_class' : CustomRegistrationForm}, name = 'registratioin_register'),
	url(r'^accounts/', include('registration.backends.simple.urls')),
)